Drawing.createRotationMatrix Method
Creates an affine transform matrix for a rotation transform.
This method is static.
Parameters
- angle
-
Type: Number
The angle to rotate by in degrees.
- point
-
Type: Array
ElementType: Number
An optional point the rotation is centered around containing x and y, respectively.
Optional: True
Return Value
Type: Array
ElementType: Number
An array that represents the affine transform containing elements
m11, m12, m13, m21, m22, m23, respectively.